﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shrestha.Trigraph
{
    public interface DbManager
    {
        bool InitDb(string host, string database, string user, string password);
        List<TriEvent> GetTriEvents(string query);
        WorkingSet ExtractParameters(string tableName, string latName, string lngName, string timeName);
        WorkingSet ExtractParameters(string query);
        object ExecuteQuery(string queryText);
        bool CheckIfClustersExist();
        WorkingSet ExtractClusterParameters(int zoomlvl);

        WorkingSet ExtractParameters(string query, string cquery, bool isClustered);
    }
}
